<?php if(Zend_Auth::getInstance()->getStorage()->read()->status === 'user' || Zend_Auth::getInstance()->getStorage()->read()->status === 'guest'):?>
<?php $this->headScript()->appendFile('js/jquery/js/loginscript.js') ?>
<?php elseif(Zend_Auth::getInstance()->getIdentity()->status === 'admin' || Zend_Auth::getInstance()->getIdentity()->status === 'demo_admin'):?>
<?php $this->headScript()->appendFile('js/jquery/js/adloginscript.js') ?>
<?php endif;?>
<?php $this->placeholder('sidebar')->captureStart();?>
<?=$this->headScript();?>
<div id="firstbox">
	<h5 class="sidebar">Рубрики</h5>
	<ul>
			<li><a href="<?=$this->url(array('category'=>'linux'),'categories-display')?>">Linux</a></li>
			<li><a href="<?=$this->url(array('category'=>'web-протоколы'),'categories-display')?>">web-протоколы</a></li>
			<li><a href="#">Планшеты и книги</a></li>
			<li><a href="#">Мобильные</a></li>
			<li><a href="#">Операционные системы</a></li>
			<li><a href="#">HardWare</a></li>
	</ul>
</div>
<?php $this->placeholder('sidebar')->captureEnd();?>